<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
	public function __construct(){
			parent::__construct();
			if(!$_SESSION['admin_is_login']){
				 $this->error('没有登录，请登录',U('admin/auth/login'));
			}
		}

    public function index(){
 	$this->display();     
}
}